package org.example;

import java.util.Scanner;

    public class Main {
        public static void main(String[] args) {
            Scanner in = new Scanner(System.in);
            char[] a = new char[0];
            a = in.nextLine().toCharArray();
            for (int i = 0; i < a.length; i++) {
                int b = a[i]-'0';
                if(b>=0&&b<=9)
                {
                    a[i]='$';
                }
            }
            for (int i = 0; i < a.length; i++) {
                System.out.print(a[i]);
            }
        }
    }